package com.cloud.shopping.search.mapper;

import com.cloud.shopping.search.model.SeckillGoodsEs;
import org.springframework.data.elasticsearch.repository.ElasticsearchRepository;

import java.util.List;

/**
 * @author John.Zhang
 * @version Id: SeckillGoodsSearchMapper, v 0.1 2021/1/8 11:28 ZhiYong Exp $
 */
public interface SeckillGoodsSearchMapper extends ElasticsearchRepository<SeckillGoodsEs,String> {


    /**
     * 根据ActivityId搜索数据
     * @param acid acid
     * @return List
     */
    List<SeckillGoodsEs> searchByActivityId(String acid);

}
